<template>
    <div>
        
    </div>
</template>
<script setup lang="ts">
// 获取请求token，得到用户信息
import { useRoute } from 'vue-router'
import { SET_TOKEN } from '@/utils/user'
const $route = useRoute();
const userInfo = $route.query;
console.log(userInfo);
SET_TOKEN(JSON.stringify(userInfo));
//此路由组件代码执行:授权成功。隐藏授权回调页面内容
let html:any = document.querySelector('html');
html.style.display = 'none';
</script>

<style lang="scss" scoped>

</style>